<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<html>
<head>
	<title>任务管理</title>
</head>

<body>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead><tr><th>任务</th><th>管理</th></tr></thead>
		<tbody>
		<c:forEach items="${roles}" var="role">
			<tr>
				<td><a href="${ctx}/role/update/${role.id}">${role.name}</a></td>
				<td><a href="${ctx}/role/delete/${role.id}">删除</a></td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	
</body>
</html>
